
module.exports = {
  mode: 'universal',
  head: {
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
    ],
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
    ],
    script: [
      { src: '/js/flexible.js', type: 'text/javascript', charset: 'utf-8'}
    ],
  },
  loading: { color: '#fff' },
  modules: [
    '@nuxtjs/axios'
  ],
  css:[
    { src: "swiper/dist/css/swiper.css" }
  ],
  plugins:[
    { src: "~/plugins/vue-swiper.js", ssr: false },
  ],
  build: {
    vendor: ['axios','~/plugins/vue-swiper'],
    postcss: [
      require('postcss-px2rem')({
        remUnit: 64
      })
    ],
    extend (config, ctx) {}
  }
};
